package com.basics.api.request.channel;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;


@Data
public class SaveGroupReq implements Serializable {

    @ApiModelProperty(value = "分组ID")
    private String groupId;

    @ApiModelProperty(value = "频道ID",required = true)
    private Long channelId;

    @ApiModelProperty(value = "分组名称",required = true)
    @NotBlank
    private String groupName;

    @ApiModelProperty(value = "图标颜色")
    private String iconColor;

    @ApiModelProperty("权限(FORBIT_PUB禁止发帖,FORBIT_PRISE禁止点赞,FORBIT_COMMON禁止评论,FORBIT_REPLY)")
    private List<String> groupPermissionList;


}
